package com.corgi.encrypt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @title: EncryptProperties
 * @description:
 * @author: dengmiao
 * @create: 2019-10-23 14:58
 **/
@Data
@Component
@ConfigurationProperties(prefix = "spring.rsa.encrypt")
public class EncryptProperties {

    private String privateKey;

    private String publicKey;

    private String charset = "UTF-8";

    private boolean open = true;

    private boolean showLog = false;
}
